package com.study.scala.collections.list

import scala.collection.mutable.ListBuffer

object TestListBuffer {
  
  def main(args: Array[String]): Unit = {
    val buffer=new ListBuffer[String];
    buffer.+=("abc");
    buffer.+=("def");
    buffer.+=("hig");
    println(buffer)
    println(buffer.toList)
    println("zzz"+:buffer)
  }
}